package com.ternnetwork.core.dao.org;

import java.util.List;

import com.ternnetwork.core.entity.User;
import com.ternnetwork.core.entity.org.OrganizationUserRelationship;
import com.ternnetwork.core.entity.org.OrganizationUserRelationshipId;
import com.ternnetwork.persistence.dao.IBaseDao;


public interface OrganizationUserRelationshipDao extends IBaseDao<OrganizationUserRelationship> {
	 OrganizationUserRelationship findById(OrganizationUserRelationshipId id);
	 void save(User user,String organizationIds,String deleteOrganizationIds);
	 void delete(long organizationId);
	 List<OrganizationUserRelationship> findAll(long userId);
	
}
